package com.ruoyi.course.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 学生作业问题对象 s_homework_question
 *
 * @author ruoyi
 * @date 2024-12-03
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SHomeworkQuestion extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 学生作业ID
     */
    @Excel(name = "学生作业ID")
    private Long sHId;

    /**
     * 题目id
     */
    @Excel(name = "题目id")
    private Long qId;

    /**
     * 题目类型
     */
    @Excel(name = "题目类型")
    private String type;

    /**
     * 题目分数
     */
    @Excel(name = "题目分数")
    private Long score;

    /**
     * 题目得分
     */
    @Excel(name = "题目得分")
    private Long grade;

    /**
     * 排序数
     */
    @Excel(name = "排序数")
    private Long orderNum;

    /**
     * 回答
     */
    @Excel(name = "回答")
    private String replied;

    /**
     * 回答附件
     */
    @Excel(name = "回答附件")
    private String repliedFile;

    /**
     * 是否已答
     */
    @Excel(name = "是否已答")
    private Long isReplied;

    /**
     * 是否答对
     */
    @Excel(name = "是否答对")
    private Long isRight;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

}
